<%@ page import="java.util.List" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String contextPath = request.getContextPath();
%>
<html>
<head>
    <title>我的博客</title>
    <link href="<%=contextPath%>/static/css/mycss.css" rel="stylesheet"/>
    <link rel="shortcut icon" href="https://imgtu.com/i/qqORDP" type="image/x-icon"/>
    <link rel="shortcut icon" href="<%=contextPath%>/img/bitbug_favicon.ico" type="image/x-icon" />

</head>

<body>
<%--<%@include file="comm/top.jsp" %>--%>
<jsp:include page="comm/top.jsp"/>

<c:forEach var="article" items="${articles}" begin="0" step="1">
<%--    <div class="row">--%>
        <div class="container">
            <div class="jumbotron">
                <div style="float: right"><img width="500px" height="200px" src="https://img0.baidu.com/it/u=1533334763,1969790722&fm=253&fmt=auto&app=138&f=JPEG?w=706&h=500" alt="图片" title="图片"></div>

                <h3>${article.title}</h3>
                <span class="summary">${article.summary}</span><br><br>
                <p><a class="btn btn-primary btn-lg" href="/article/detail/${article.id}/firstPage"role="button">阅读全文</a></p>
                <h3 class="panel-title">发布日期：${article.time}</h3>
                <h3 class="panel-title">修改日期：</h3>

            </div>
        </div>
<%--    </div>--%>
</c:forEach>
</body>
</html>
